package com.ruoyi.tsjData.domain.plat;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.common.convert.ArrayToJsonDeserializer;
import com.ruoyi.common.convert.BoolToStringDeserializer;
import com.ruoyi.common.core.pad.ChartLineDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 提升机-调压性能测试对象 data_tshj_tyxn
 * 
 * @author ruoyi
 * @date 2023-10-25
 */
@ApiModel(value = "提升机-调压性能测试对象")
public class DataTshjTyxn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 调压性能测试ID */
    private Long tyxnId;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    private Long dataTaskId;

    /** 数据ID */
    @ApiModelProperty(value = "数据ID")
    private Long id;

    /** 任务ID */
    @Excel(name = "任务ID")
    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    /** 液压站 */
    @Excel(name = "液压站")
    @ApiModelProperty(value = "液压站")
    private String yyzh;

    /** 最大电流 */
    @Excel(name = "最大电流")
    @ApiModelProperty(value = "最大电流")
    private String dlMax;

    /** 最大闸电压 */
    @Excel(name = "最大闸电压")
    @ApiModelProperty(value = "最大闸电压")
    private String dyMax;

    /** 是否贴闸电流（0非贴闸电流 1贴闸电流） */
    @Excel(name = "是否贴闸电流", readConverterExp = "0=非贴闸电流,1=贴闸电流")
    @JsonDeserialize(using = BoolToStringDeserializer.class)
    @ApiModelProperty(value = "是否贴闸电流")
    private String zhadl;

    /** JSON-油压1数值List */
    @Excel(name = "JSON-油压1数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    @ApiModelProperty(value = "油压1数值List")
    private String yyList1;

    /** JSON-油压2数值List */
    @Excel(name = "JSON-油压2数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    @ApiModelProperty(value = "油压2数值List")
    private String yyList2;

    /** JSON-电流数值List */
    @Excel(name = "JSON-电流数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    @ApiModelProperty(value = "电流数值List")
    private String dlList;

    /** JSON-电压数值List */
    @Excel(name = "JSON-电压数值List")
    @JsonDeserialize(using = ArrayToJsonDeserializer.class)
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    @ApiModelProperty(value = "电压数值List")
    private String dyList;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "保存时间")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 电流电压对应油压曲线图 */
    private TshjTyxnJs tshjTyxnJs;


    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO yy1ChartLineDTO;

    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO yy2ChartLineDTO;


    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO dlChartLineDTO;

    @JsonProperty(access = JsonProperty.Access.READ_ONLY)
    private ChartLineDTO dyChartLineDTO;


    public void setTyxnId(Long tyxnId) 
    {
        this.tyxnId = tyxnId;
    }

    public Long getTyxnId() 
    {
        return tyxnId;
    }
    public void setDataTaskId(Long dataTaskId) 
    {
        this.dataTaskId = dataTaskId;
    }

    public Long getDataTaskId() 
    {
        return dataTaskId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setYyzh(String yyzh) 
    {
        this.yyzh = yyzh;
    }

    public String getYyzh() 
    {
        return yyzh;
    }
    public void setDlMax(String dlMax) 
    {
        this.dlMax = dlMax;
    }

    public String getDlMax() 
    {
        return dlMax;
    }
    public void setDyMax(String dyMax) 
    {
        this.dyMax = dyMax;
    }

    public String getDyMax() 
    {
        return dyMax;
    }
    public void setZhadl(String zhadl) 
    {
        this.zhadl = zhadl;
    }

    public String getZhadl() 
    {
        return zhadl;
    }
    public void setYyList1(String yyList1) 
    {
        this.yyList1 = yyList1;
    }

    public String getYyList1() 
    {
        return yyList1;
    }
    public void setYyList2(String yyList2) 
    {
        this.yyList2 = yyList2;
    }

    public String getYyList2() 
    {
        return yyList2;
    }
    public void setDlList(String dlList) 
    {
        this.dlList = dlList;
    }

    public String getDlList() 
    {
        return dlList;
    }
    public void setDyList(String dyList) 
    {
        this.dyList = dyList;
    }

    public String getDyList() 
    {
        return dyList;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public ChartLineDTO getYy1ChartLineDTO() {
        return yy1ChartLineDTO;
    }

    public void setYy1ChartLineDTO(ChartLineDTO yy1ChartLineDTO) {
        this.yy1ChartLineDTO = yy1ChartLineDTO;
    }

    public ChartLineDTO getYy2ChartLineDTO() {
        return yy2ChartLineDTO;
    }

    public void setYy2ChartLineDTO(ChartLineDTO yy2ChartLineDTO) {
        this.yy2ChartLineDTO = yy2ChartLineDTO;
    }

    public ChartLineDTO getDlChartLineDTO() {
        return dlChartLineDTO;
    }

    public void setDlChartLineDTO(ChartLineDTO dlChartLineDTO) {
        this.dlChartLineDTO = dlChartLineDTO;
    }

    public ChartLineDTO getDyChartLineDTO() {
        return dyChartLineDTO;
    }

    public void setDyChartLineDTO(ChartLineDTO dyChartLineDTO) {
        this.dyChartLineDTO = dyChartLineDTO;
    }

    public TshjTyxnJs getTshjTyxnJs() {
        return tshjTyxnJs;
    }

    public void setTshjTyxnJs(TshjTyxnJs tshjTyxnJs) {
        this.tshjTyxnJs = tshjTyxnJs;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tyxnId", getTyxnId())
            .append("dataTaskId", getDataTaskId())
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("yyzh", getYyzh())
            .append("dlMax", getDlMax())
            .append("dyMax", getDyMax())
            .append("zhadl", getZhadl())
            .append("yyList1", getYyList1())
            .append("yyList2", getYyList2())
            .append("dlList", getDlList())
            .append("dyList", getDyList())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
